class_name = "CShip"
object_name = "Peniche type B"
detail_type = "DET_SHIP" //list of types is in \inc\SimulationSystem\DetailTypes.inc

//////	PhysicsBody properties
//VisualImage = <int TYPE>,<string File_PathName>,<bool cast_shadows>

VisualImage=0,"graphics/ships/PenicheGER/PenicheB.mgm",true
DistantLOD="LuaScripts/WorldObjects/Ships/DistantLODs/PenicheGER_Distant.txt"
DLODArgs=63221,63222

ImageAttrs="IA_NOMINPIXELS","IA_NOMINZ","IA_NOCLIP_ANIM","IA_NOCLIP","IA_ALWAYSVISIBLE"

CollisionBody="graphics/ships/PenicheGER/PenicheGER.col"

SoundScript="LuaScripts/Sound/Vehicles/PenicheGER.cfg"

[attach=0]
	position= -12.327,2.511,0.186
	object = "LuaScripts/WorldObjects/Bots/BotShipper.txt"
[end]

[attach=1]
	position= -11.505,4.122,2.214
	rotation= 30, 0, 0
	object = "LuaScripts/WorldObjects/FlareGun.txt"
[end]

AttachedCameras = "LuaScripts\WorldObjects\fixcameras\Vehicles\Peniche.txt"

CommandMonitor="LuaScripts/WorldObjects/VehicleMonitor.txt"


// 
logtreshold=0.0001
MaxDeleteTime = 600

length = 38
height = 1.48
width  = 5.1

TotalPoints = 6

point0 = 13, 0, -2.5, 105, 1.125, 0.375
point1 = 13, 0, 2.5, 105, 1.125, 0.375
point2 = 0, 0, -2.5, 105, 1.125, 0.375
point3 = 0, 0, 2.5, 105, 1.125, 0.375
point4 = -13, 0, -2.5, 105, 1.125, 0.375
point5 = -13, 0, 2.5, 105, 1.125, 0.375

//  .  ,   3D .
MaxWaveTime = 8		// 
WavePointSize = 1.5	// 
MaxWave = 50000		//  

Cx = 4000.0					//  
Cw = 100.0					//     

sendrate = 20				//    50     (=20    2.5)

mass = 370000.0
MaxEngineForce = 31000.0
MinEngineForce = 100
Csf=1.5
PrioritySpeed=3.5
MaxPropRotationRPM=120.0	//   (/)    
PropRotationSmoothK=0.01	//     
TurnShift=0.5				//        
RudderAngle=60				//    
Cwx=15						//     , ,  Cw   
Cwz=800						//     , ,  Cwx*20   
Cang=0.5					//  
RudderPos=-19,-0.3,0		//     (  )
FrictionPos=0,-5,0			//     
GlidingK = 0.0				//       X    ().   - 0
GlidingPosK = 0.8			//    . 1 -  , 0 -  .

// Damage model

energyloss="",true,5.0,1000		//     , true -       -,       ,        

Armor=5						//   

LifeRate=350000
LifeRateFrag=350000

EngineExhaustArg = 63200
BackTrailArg = 63222
FrontTrailArg = 63221
PropSprayArg=63231

[splash]
	pos = 27.852, 0.0, 0
	splashArg = 63229
	SplashTotalTime = 1.0
	SplashAttackTime = 0.1
	SplashKoeff = 30
	startArgValue = 0.5
	
	splashDiffHeight = 1.5
	// time = splashStackCount * splashstacktime
	splashStackCount = 50
	splashstacktime = 0.1
[end]

floathook=15.3, 0.3, 0,	100,false	//x,y,z, Arg, 3D water,      
floathook=-19.1, 0.3, 0,	101,false	//     
floathook=15.3, 0.3, 0,	102,true	//     
floathook=-19.2, 0.3, 0,	103,true	//      

OneSectionMode = true
SectionsHealthPercent = 1.0f

CommandSectionId = 3

MinMovementHealth = 0.3

SinkEffectScript = "LuaScripts/WorldObjects/explosions/Effects/SinkBarge.txt"

[section=0]
	Armor=5
	LifeRate=350000
	LifeRateFrag=350000

	ConvexName = "col_1"

	// effect
	EffectCoord = 16.735,0.165,-0.462
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/ShipSmall.txt"

	DestructArg = 761
	FiringArg = 63210
	SmokeArgBase = 63210
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.48			// ,    
	FireEffectTime = 300.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0.0016	//  ,  Life  
	Firing=0.0008					//     ,  Life  

	MinMovementHealth = 0.2			// ,    
	MinAttackHealth = 0.05			// ,    

	CollisionLifeRate = 740000		//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 14800		//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      

	pointsTotal= 2
	point0 = 0
	point1 = 1
[end]

[section=1]
	Armor=5
	LifeRate=350000
	LifeRateFrag=350000

	ConvexName = "col_2"

	// effect
	EffectCoord = -1.857,-0.212,1.116
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/ShipSmall.txt"

	DestructArg = 771
	FiringArg = 63211
	SmokeArgBase = 63211
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.48			// ,    
	FireEffectTime = 300.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0.0016	//  ,  Life  
	Firing=0.0008					//     ,  Life  

	MinMovementHealth = 0.2			// ,    
	MinAttackHealth = 0.05			// ,    

	CollisionLifeRate = 740000		//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 14800		//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      

	pointsTotal= 1
	point0 = 3
[end]

[section=2]
	Armor=5
	LifeRate=350000
	LifeRateFrag=350000

	ConvexName = "col_3"

	// effect
	EffectCoord = -17.257,0.674,-1.334
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/ShipSmall.txt"

	DestructArg = 781
	FiringArg = 63212
	SmokeArgBase = 63212
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.48			// ,    
	FireEffectTime = 300.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0.0016	//  ,  Life  
	Firing=0.0008					//     ,  Life  

	MinMovementHealth = 0.2			// ,    
	MinAttackHealth = 0.05			// ,    

	CollisionLifeRate = 740000		//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 14800		//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      

	pointsTotal= 1
	point0 = 3

[end]

[section=3]
	Armor=5
	LifeRate=175000
	LifeRateFrag=175000

	InfluenceOnTotalHealth = false

	ConvexName = "col_4"

	// effect
	EffectCoord = -12.433,3.300,-0.199
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/VehicleNoDmg.txt"

	DestructArg = 901
	FiringArg = 63213
	SmokeArgBase = 63213
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.48			// ,    
	FireEffectTime = 300.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0.0016	//  ,  Life  
	Firing=0.0008					//     ,  Life  

	CollisionLifeRate = 148000		//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 2960		//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      
[end]

[CrewEscape]
	EscapeHealth=0.001f
	EscapeAtLeast=1
	DistanceToRun=20.0f
	EscapePos=-13,2,3

	EscapeVisArg=1000

//	Bot=""
[end]

DebugInfo = false